package com.hrrt.home.dao.model;

import java.io.Serializable;

public class HomeDeviceStatus implements Serializable {
    private Integer id;

    private Integer deviceId;

    private String status001;

    private String status002;

    private String status003;

    private String status004;

    private String status005;

    private String status006;

    private String status007;

    private String status008;

    private String status009;

    private String status010;

    private String status011;

    private String status012;

    private String status013;

    private String status014;

    private String status015;

    private String status016;

    private String status017;

    private String status018;

    private String status019;

    private String status020;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getStatus001() {
        return status001;
    }

    public void setStatus001(String status001) {
        this.status001 = status001;
    }

    public String getStatus002() {
        return status002;
    }

    public void setStatus002(String status002) {
        this.status002 = status002;
    }

    public String getStatus003() {
        return status003;
    }

    public void setStatus003(String status003) {
        this.status003 = status003;
    }

    public String getStatus004() {
        return status004;
    }

    public void setStatus004(String status004) {
        this.status004 = status004;
    }

    public String getStatus005() {
        return status005;
    }

    public void setStatus005(String status005) {
        this.status005 = status005;
    }

    public String getStatus006() {
        return status006;
    }

    public void setStatus006(String status006) {
        this.status006 = status006;
    }

    public String getStatus007() {
        return status007;
    }

    public void setStatus007(String status007) {
        this.status007 = status007;
    }

    public String getStatus008() {
        return status008;
    }

    public void setStatus008(String status008) {
        this.status008 = status008;
    }

    public String getStatus009() {
        return status009;
    }

    public void setStatus009(String status009) {
        this.status009 = status009;
    }

    public String getStatus010() {
        return status010;
    }

    public void setStatus010(String status010) {
        this.status010 = status010;
    }

    public String getStatus011() {
        return status011;
    }

    public void setStatus011(String status011) {
        this.status011 = status011;
    }

    public String getStatus012() {
        return status012;
    }

    public void setStatus012(String status012) {
        this.status012 = status012;
    }

    public String getStatus013() {
        return status013;
    }

    public void setStatus013(String status013) {
        this.status013 = status013;
    }

    public String getStatus014() {
        return status014;
    }

    public void setStatus014(String status014) {
        this.status014 = status014;
    }

    public String getStatus015() {
        return status015;
    }

    public void setStatus015(String status015) {
        this.status015 = status015;
    }

    public String getStatus016() {
        return status016;
    }

    public void setStatus016(String status016) {
        this.status016 = status016;
    }

    public String getStatus017() {
        return status017;
    }

    public void setStatus017(String status017) {
        this.status017 = status017;
    }

    public String getStatus018() {
        return status018;
    }

    public void setStatus018(String status018) {
        this.status018 = status018;
    }

    public String getStatus019() {
        return status019;
    }

    public void setStatus019(String status019) {
        this.status019 = status019;
    }

    public String getStatus020() {
        return status020;
    }

    public void setStatus020(String status020) {
        this.status020 = status020;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", deviceId=").append(deviceId);
        sb.append(", status001=").append(status001);
        sb.append(", status002=").append(status002);
        sb.append(", status003=").append(status003);
        sb.append(", status004=").append(status004);
        sb.append(", status005=").append(status005);
        sb.append(", status006=").append(status006);
        sb.append(", status007=").append(status007);
        sb.append(", status008=").append(status008);
        sb.append(", status009=").append(status009);
        sb.append(", status010=").append(status010);
        sb.append(", status011=").append(status011);
        sb.append(", status012=").append(status012);
        sb.append(", status013=").append(status013);
        sb.append(", status014=").append(status014);
        sb.append(", status015=").append(status015);
        sb.append(", status016=").append(status016);
        sb.append(", status017=").append(status017);
        sb.append(", status018=").append(status018);
        sb.append(", status019=").append(status019);
        sb.append(", status020=").append(status020);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        HomeDeviceStatus other = (HomeDeviceStatus) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getDeviceId() == null ? other.getDeviceId() == null : this.getDeviceId().equals(other.getDeviceId()))
            && (this.getStatus001() == null ? other.getStatus001() == null : this.getStatus001().equals(other.getStatus001()))
            && (this.getStatus002() == null ? other.getStatus002() == null : this.getStatus002().equals(other.getStatus002()))
            && (this.getStatus003() == null ? other.getStatus003() == null : this.getStatus003().equals(other.getStatus003()))
            && (this.getStatus004() == null ? other.getStatus004() == null : this.getStatus004().equals(other.getStatus004()))
            && (this.getStatus005() == null ? other.getStatus005() == null : this.getStatus005().equals(other.getStatus005()))
            && (this.getStatus006() == null ? other.getStatus006() == null : this.getStatus006().equals(other.getStatus006()))
            && (this.getStatus007() == null ? other.getStatus007() == null : this.getStatus007().equals(other.getStatus007()))
            && (this.getStatus008() == null ? other.getStatus008() == null : this.getStatus008().equals(other.getStatus008()))
            && (this.getStatus009() == null ? other.getStatus009() == null : this.getStatus009().equals(other.getStatus009()))
            && (this.getStatus010() == null ? other.getStatus010() == null : this.getStatus010().equals(other.getStatus010()))
            && (this.getStatus011() == null ? other.getStatus011() == null : this.getStatus011().equals(other.getStatus011()))
            && (this.getStatus012() == null ? other.getStatus012() == null : this.getStatus012().equals(other.getStatus012()))
            && (this.getStatus013() == null ? other.getStatus013() == null : this.getStatus013().equals(other.getStatus013()))
            && (this.getStatus014() == null ? other.getStatus014() == null : this.getStatus014().equals(other.getStatus014()))
            && (this.getStatus015() == null ? other.getStatus015() == null : this.getStatus015().equals(other.getStatus015()))
            && (this.getStatus016() == null ? other.getStatus016() == null : this.getStatus016().equals(other.getStatus016()))
            && (this.getStatus017() == null ? other.getStatus017() == null : this.getStatus017().equals(other.getStatus017()))
            && (this.getStatus018() == null ? other.getStatus018() == null : this.getStatus018().equals(other.getStatus018()))
            && (this.getStatus019() == null ? other.getStatus019() == null : this.getStatus019().equals(other.getStatus019()))
            && (this.getStatus020() == null ? other.getStatus020() == null : this.getStatus020().equals(other.getStatus020()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getDeviceId() == null) ? 0 : getDeviceId().hashCode());
        result = prime * result + ((getStatus001() == null) ? 0 : getStatus001().hashCode());
        result = prime * result + ((getStatus002() == null) ? 0 : getStatus002().hashCode());
        result = prime * result + ((getStatus003() == null) ? 0 : getStatus003().hashCode());
        result = prime * result + ((getStatus004() == null) ? 0 : getStatus004().hashCode());
        result = prime * result + ((getStatus005() == null) ? 0 : getStatus005().hashCode());
        result = prime * result + ((getStatus006() == null) ? 0 : getStatus006().hashCode());
        result = prime * result + ((getStatus007() == null) ? 0 : getStatus007().hashCode());
        result = prime * result + ((getStatus008() == null) ? 0 : getStatus008().hashCode());
        result = prime * result + ((getStatus009() == null) ? 0 : getStatus009().hashCode());
        result = prime * result + ((getStatus010() == null) ? 0 : getStatus010().hashCode());
        result = prime * result + ((getStatus011() == null) ? 0 : getStatus011().hashCode());
        result = prime * result + ((getStatus012() == null) ? 0 : getStatus012().hashCode());
        result = prime * result + ((getStatus013() == null) ? 0 : getStatus013().hashCode());
        result = prime * result + ((getStatus014() == null) ? 0 : getStatus014().hashCode());
        result = prime * result + ((getStatus015() == null) ? 0 : getStatus015().hashCode());
        result = prime * result + ((getStatus016() == null) ? 0 : getStatus016().hashCode());
        result = prime * result + ((getStatus017() == null) ? 0 : getStatus017().hashCode());
        result = prime * result + ((getStatus018() == null) ? 0 : getStatus018().hashCode());
        result = prime * result + ((getStatus019() == null) ? 0 : getStatus019().hashCode());
        result = prime * result + ((getStatus020() == null) ? 0 : getStatus020().hashCode());
        return result;
    }
}